#!/bin/bash
tar xf grep-3.4.tar.xz
cd grep-3.4
./configure --prefix=$1/usr --bindir=$1/bin --host=$4
make -j$2
make install
cd ..
rm -rf grep-3.4

